<div class="al-modal-view">
  <div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" ng-click="cancel()">
      <span aria-hidden="true" class="glyphicon glyphicon-remove"></span>
      <span class="sr-only">Close</span>
    </button>
    <h4 class="modal-title ok-color">{{modalTitle}}</h4>
  </div>
  <div class="modal-body">
      <ng-form name="modalForm" class="form-horizontal form-validation" role="form">
        <div class="form-group">
          <label class="col-sm-2 col-sm-offset-1 control-label">投诉人</label>
          <div class="col-sm-3">
            <div class="form-control info-text">{{data.name}}</div>
          </div>
          <label class="col-sm-2 control-label">手机号</label>
          <div class="col-sm-3">
            <div class="form-control info-text">{{data.phone}}</div>
          </div>
        </div>
        <div class="form-group">
          <label class="col-sm-2 col-sm-offset-1 control-label">公寓</label>
          <div class="col-sm-3">
            <div class="form-control info-text">{{data.buzTypeName}}</div>
          </div>
          <label class="col-sm-2 control-label">房间号</label>
          <div class="col-sm-3">
            <div class="form-control info-text">{{data.buzItemName}}</div>
          </div>
        </div>
        <div class="form-group">
          <label class="col-sm-2 col-sm-offset-1 control-label">类别</label>
          <div class="col-sm-3">
            <div class="form-control info-text">{{data.categoryName}}</div>
          </div>
          <!--<label class="col-sm-2 control-label">房间号</label>-->
          <!--<div class="col-sm-3">-->
            <!--<div class="form-control info-text">{{data.buzItemName}}</div>-->
          <!--</div>-->
        </div>
        <div class="form-group">
          <label class="col-sm-2 col-sm-offset-1 control-label">投诉内容</label>
          <div class="col-sm-9">
            <textarea readonly class="form-control" cols="5" ng-model="data.content">
            </textarea>
          </div>
        </div>
        <div class="form-group">
          <label class="col-sm-2 col-sm-offset-1 control-label">投诉时间</label>
          <div class="col-sm-3">
            <div class="form-control info-text">{{data.createTime|dateTransfer:'YYYY-MM-DD HH:mm'}}</div>
          </div>
          <label class="col-sm-2 control-label">状态</label>
          <div class="col-sm-3">
            <div class="form-control info-text">{{data.statusName}}</div>
          </div>
        </div>
        <!--分割线-->

        <div class="form-group">
          <label class="col-sm-2 col-sm-offset-1 control-label">处理结果</label>
          <div class="col-sm-9">
            <textarea class="form-control" placeholder="处理结果" cols="5" required
                      ng-readonly="type=='view'" ng-model="data.dealResult" ></textarea>
          </div>
        </div>
      </ng-form>
  </div>
  <div class="modal-footer">
    <button class="btn btn-warning no-border" type="button" ng-click="cancel()">取消</button>
    <button class="btn btn-primary no-border" type="button" ng-click="confirm()" ng-if="type!='view'"
            ng-disabled="modalForm.$invalid">处理</button>
  </div>
</div>